/*
 * (@)# BbsSessionUser.java Copyright (c) 1996-2012 Netville Co., Ltd. All rights reserved.
 * 
 * This source code is digitised property of Netville Company Limited ("Netville") and 
 * protected by copyright under the law of Republic of Korea and other foreign laws.
 * Reproduction and/or redistribution of the source code without written permission of 
 * Netville is not allowed. Also, it is severely prohibited to register whole or specific 
 * part of the source code to any sort of information retrieval system.
 */
package com.se.model;

import java.util.HashMap;
import java.util.List;


/**
 * 솔루션 통합 세션 유저 정보를 담는 모델이다.
 * 세션 사용자가 조회한 메시지 ID목록을 100개 세션에 저장한다. //이건 DB로 바뀔꺼임
 * @author R&D Institute
 * @since 2010. 03. 12
 */
public class CommonSessionUser  extends SessionUser {

	private static final long serialVersionUID = -8521318897320117306L;
	
	/**
     * Bbs 메시지ID 목록
     */
	private List bbsMessageIds;

    /**
     * Bbs 관리자 여부
     */
	private boolean bbsBoardManager;

    /**
     * Bbs ANONYMOUS
     */
	public final static String ANONYMOUS = "anonymous";
	
	 /**
     * mstr ID
     */
    private String mstrId;
    
    /**
     * 부서명
     */
    private String deptNm;
    /**
     * 부서명
     */
    private String deptId;
    /**
     * 조직명
     */
    private String organNm;
    
    /**
     * MSTR 패스워드
     */
    private String olapKey;
    
    /**
     * 사용여부
     */
    private String useYn;
    /**
     * OLAP 사용여부
     */
    
    private String olapUseYn;
    
    
	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getMstrId() {
		return mstrId;
	}

	public void setMstrId(String mstrId) {
		this.mstrId = mstrId;
	}

	public List getBbsMessageIds() {
		return bbsMessageIds;
	}

	public void setBbsMessageIds(List bbsMessageIds) {
		this.bbsMessageIds = bbsMessageIds;
	}

	public boolean isBbsBoardManager() {
		return bbsBoardManager;
	}

	public void setBbsBoardManager(boolean bbsBoardManager) {
		this.bbsBoardManager = bbsBoardManager;
	}

	

	public String getDeptNm() {
		return deptNm;
	}

	public void setDeptNm(String deptNm) {
		this.deptNm = deptNm;
	}

	public String getOrganNm() {
		return organNm;
	}

	public void setOrganNm(String organNm) {
		this.organNm = organNm;
	}

	public String getOlapKey() {
		return olapKey;
	}

	public void setOlapKey(String olapKey) {
		this.olapKey = olapKey;
	}

	public String getUseYn() {
		return useYn;
	}

	public void setUseYn(String useYn) {
		this.useYn = useYn;
	}

	public String getOlapUseYn() {
		return olapUseYn;
	}

	public void setOlapUseYn(String olapUseYn) {
		this.olapUseYn = olapUseYn;
	}

	public static String getAnonymous() {
		return ANONYMOUS;
	}

	/**
     * @return a <code>String</code> representation 
     * of this object.
     */
    public String toString() {
        final String TAB = "\n";
        StringBuffer retValue = new StringBuffer();
        
        retValue.append("CommonSessionUser ( ")
            	.append(super.toString()).append(TAB)
            	.append("bbsMessageIds = ").append(this.bbsMessageIds).append(TAB)
            	.append("bbsBoardManager = ").append(this.bbsBoardManager).append(TAB)
            	.append(" )");
        
        return retValue.toString();
    }

	
}
